package com.project.bean;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * 用户管理实体类
 */


@TableName("t_user")
public class UserBean {
    @TableId(value = "pk_userId",type = IdType.AUTO)
    private int userId;
    @TableField("f_userName")
    private String userName;
    @TableField("f_userPwd")
    private String userPwd;
    @TableField("f_userGrade")
    /*** 用户等级 */
    private String userGrade = "超级管理员";
    @TableField("f_userTrueName")
    private String userTrueName;

    public UserBean() {
    }

    public UserBean(String userName, String userPwd, String userGrade, String userTrueName) {
        this.userName = userName;
        this.userPwd = userPwd;
        this.userGrade = userGrade;
        this.userTrueName = userTrueName;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPwd() {
        return userPwd;
    }

    public void setUserPwd(String userPwd) {
        this.userPwd = userPwd;
    }

    public String getUserGrade() {
        return userGrade;
    }

    public void setUserGrade(String userGrade) {
        this.userGrade = userGrade;
    }

    public String getUserTrueName() {
        return userTrueName;
    }

    public void setUserTrueName(String userTrueName) {
        this.userTrueName = userTrueName;
    }

    @Override
    public String toString() {
        return "UserBean{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", userPwd='" + userPwd + '\'' +
                ", userGrade='" + userGrade + '\'' +
                ", userTrueName='" + userTrueName + '\'' +
                '}';
    }
}
